-- GENERATED SPELL FOR [Kayneth Stillwind] --


function spell0_3848(pUnit, Event) --@Venom\'s Bane,Self--
pUnit:FullCastSpellOnTarget(6354,pUnit)
pUnit:RegisterEvent('Sorts_3848', 2000, 1)
end

function Sorts_3848(pUnit, Event)
local choix_sorts_3848 = math.random(0, 0)
if choix_sorts_3848 == 0 then
pUnit:RegisterEvent('spell0_3848', 1, 1)
end
end

function mob3848_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3848', math.random(1500, 3000), 1)
end

function mob3848_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3848_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3848_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3848, 1, 'mob3848_Action')
RegisterUnitEvent(3848, 2, 'mob3848_Leave')
RegisterUnitEvent(3848, 3, 'mob3848_Kill')
RegisterUnitEvent(3848, 4, 'mob3848_Die')
